<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version="1.0">
	<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" omit-xml-declaration="yes"/> 
	<xsl:strip-space elements="*" />

	<xsl:template match="posts">
		<xsl:apply-templates/>
	</xsl:template>

	<xsl:template match="post">
		<item>
			<title>
				<xsl:text>Article </xsl:text><xsl:value-of select="@id"/><xsl:text> de </xsl:text><xsl:value-of select="normalize-space(author)"/>
			</title>
			<description>
				<xsl:value-of select="normalize-space(message)"/>
			</description>
			<pubDate>
				<xsl:value-of select="normalize-space(date)"/>
			</pubDate>
			<link><xsl:value-of select="@url"/></link>
			<guid isPermaLink="true"><xsl:value-of select="@url"/></guid>
		</item>
	</xsl:template>
</xsl:stylesheet>
